Skip to content

feat: pre-render /contracts page for SEO and LLM discoverability#451

Merged
rdmueller merged 2 commits into
LLM-Coding:mainfrom
raifdmueller:feat/prerender-contracts
Apr 30, 2026
Merged

feat: pre-render /contracts page for SEO and LLM discoverability#451
rdmueller merged 2 commits into
LLM-Coding:mainfrom
raifdmueller:feat/prerender-contracts

Conversation

@raifdmueller

Copy link
Copy Markdown
Contributor

Closes #450

Summary

  • New scripts/render-contracts.js generates static HTML from contracts.json at build time
  • Pre-rendered page includes all contract titles, descriptions, templates, and anchor links
  • Registered in prerender-routes.js with SEO title and description
  • Interactive features (checkboxes, download) remain JS-only as progressive enhancement

Test plan

  • curl https://llm-coding.github.io/Semantic-Anchors/contracts/ shows contract content (not empty shell)
  • Verify all 12 contracts appear in the pre-rendered HTML
  • Interactive features (select, download) still work in browser
  • Build succeeds without errors

🤖 Generated with Claude Code

…-Coding#450)

Add build-time HTML generation for the contracts page so crawlers and
LLMs can read the content without executing JavaScript.

- New script render-contracts.js: reads contracts.json, generates
  static HTML fragment with all contract titles, descriptions,
  templates, and anchor links
- Chained from render-docs.js (runs during prebuild)
- Registered in prerender-routes.js with SEO metadata

The interactive features (checkbox selection, download) remain JS-only
as progressive enhancement.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@raifdmueller has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 44 minutes and 57 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 5d8f41f1-1f8d-41f9-84b6-a055df5abce4

📥 Commits

Reviewing files that changed from the base of the PR and between e4ac35a and 0f64243.

📒 Files selected for processing (3)
  • scripts/prerender-routes.js
  • scripts/render-contracts.js
  • scripts/render-docs.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 44 minutes and 57 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

The redirect page for /workflow used a bare /spec-driven-development
path, which resolved to the root domain instead of the GitHub Pages
subdirectory. Now uses /Semantic-Anchors/spec-driven-development.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rdmueller rdmueller merged commit 81f2bad into LLM-Coding:main Apr 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: pre-render /contracts page for SEO and LLM discoverability

2 participants